#ifndef __GLOBAL_H__
#define __GLOBAL_H__
#include "stdafx.h"
#include "nfapi.h"
#include <vector>
#include <string>
#include "UserMgr.h"

typedef std::vector<std::string> tStrings;
typedef unsigned char BYTE;
extern BYTE g_proxyAddress[];
extern tStrings g_processNames;
extern std::string g_userName;
extern std::string g_userPassword;
extern UserMgr gUserMgr;
inline bool safe_iswhitespace(int c) { return (c == (int)' ' || c == (int)'\t' || c == (int)'\r' || c == (int)'\n'); }
std::string trimWhitespace(std::string str);
bool parseValue(const std::string &_s, tStrings &v);
bool checkProcessName(DWORD processId);
bool stringToIPv6(char *str, char *ipBytes);
#endif // !__GLOBAL_H__
